package com.atguigu.eduservice.service;

import com.atguigu.eduservice.entity.EduVideo;
import com.atguigu.eduservice.entity.vo.VideoInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author Y丶HS练习谷粒商城
 * @since 2022-09-24
 */
public interface EduVideoService extends IService<EduVideo> {
    /**
     * 保存小节信息
     * @param videoInfoVo
     */
    void saveEntity(VideoInfoVo videoInfoVo);

    /**
     * 根据课程id删除小节
     * @param courseId 课程id
     */
    void deleteEntityByCourseId(String courseId);
}
